<?php 

class Home_model extends CI_Model {
	
	function _construct()
	{
      // Call the Model constructor
      parent::_construct();
	}
	
	function getall(){
			
			$query = $this->db->query("SELECT name,title,summary,content FROM tbl_page where id = 1");
			return $query->result();
			
	}

}
